from rest_framework import serializers
from user import models


class UserSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.User
        fields = '__all__'
        # extra_kwargs = {
        #     "phone": {"validators": [validate_phone,phone_data]},
        #     "password": {"validators": [pwd_data]}
        #
        # }








